package com.dayou.bean;

import com.dayou.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 提审会见值班室民警带人记录表 interviewer_bring_record
 *
 * @author dayou
 * @date 2020-05-11
 */
public class BringRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    public BringRecord() {
    }

    public BringRecord(Integer irId) {
        this.irId = irId;
    }

    /**
     * 主键id
     */
    private Integer id;
    /**
     * 提审会见子记录id
     */
    private Integer irId;
    /**
     * 带入时间
     */
    private Date bringInTime;
    /**
     * 带出时间
     */
    private Date bringOutTime;
    /**
     * 状态（0：未处理，1：已处理）
     */
    private Integer state;
    /**
     * 状态（0：带入，1：带回）
     */
    private Integer type;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setIrId(Integer irId) {
        this.irId = irId;
    }

    public Integer getIrId() {
        return irId;
    }

    public void setBringInTime(Date bringInTime) {
        this.bringInTime = bringInTime;
    }

    public Date getBringInTime() {
        return bringInTime;
    }

    public void setBringOutTime(Date bringOutTime) {
        this.bringOutTime = bringOutTime;
    }

    public Date getBringOutTime() {
        return bringOutTime;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getState() {
        return state;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("irId", getIrId())
                .append("bringInTime", getBringInTime())
                .append("bringOutTime", getBringOutTime())
                .append("state", getState())
                .append("type", getType())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .toString();
    }
}
